package chapter5;

public class sort10课后练习1 {
    public static void main(String[] args) {
        System.out.println(getMin(2.1,3.7));
    }

    public static double getMin(double a, double b) {
        double min = a < b ? a : b;
        return min;
    }
}
